package com.shunli.cterminal.model.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: 清水
 * @Date: 2025/4/16
 */
@Data
public class OrderAndTempConfig implements Serializable {

    private static final long serialVersionUID = 3893713258895389015L;

    @Schema(description = "颜色")
    private String color;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "公司信息")
    private CompanyInfo company;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "模板ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long tempId;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "商品ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long goodsId;

    @Schema(description = "用户IP")
    private String userIp;

    @Schema(description = "订单信息")
    private TempConfigOrder order;
}
